package com.ganbo.pattern.flyweight;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 定义内存块
 *
 * @Author: ganbo
 * @Date: 2020/6/12 12:30
 */
@Data
@AllArgsConstructor
public class Memory {

    private String id;      //内存id
    private int size;       //内存大小,单位MB
    private boolean isUsed; //内存是否使用
}
